/**
 * 生成订单编号，订单编号由3部分构成，第一部分字母开头，第二部分年月日，第三部分时间戳
 *
 */
export function usePaymentUtilsGenerateOrderNo() {
  const prefix = 'BCAI';
  const date = new Date();
  const year = date.getFullYear();
  const month = date.getMonth() + 1;
  const day = date.getDate();
  const hour = date.getHours();
  const minute = date.getMinutes();
  const second = date.getSeconds();
  const timestamp = date.getTime();
    return `${prefix}${year}${month}${day}${hour}${minute}${second}${timestamp}`;
}
